package com.acmen.demo.dto.cmd;

import com.acmen.easyapi.annotation.ReqParam;


public class Cat {
    @ReqParam(label = "名字", maxLength = 20, example = "小白")
    private String name;
    @ReqParam(label = "年龄", validateExp = "num(1,20)", example = "3")
    private int age;

    public String getName() {
        return name;
    }

    public Cat setName(String name) {
        this.name = name;
        return this;
    }

    public int getAge() {
        return age;
    }

    public Cat setAge(int age) {
        this.age = age;
        return this;
    }
}
